// 分类页面
@import './base.less';

// html{
//     // width: 100vw;
//     height: 100%;
// }
// 顶部
header{
    width: 100vw;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 99;
    height: 24vw;
    // background-color: red;
    color: rgb(0, 0, 0);
    text-align: center;
    line-height: 11.7333vw;
    font-size: 4.2667vw;
    font-weight: 700;
    background-color: #fff;
   padding-bottom: 2.6667vw;
    .search{
        height: 8.2667vw;
        padding-bottom: 2.6667vw;
        background-color: #fff;
        a{
            display: block;
            width: 100%;
            height: 8.5333vw;
            border-radius: 5.3333vw;
            background-color: #f7f7f7;
            text-align: center;
            line-height: 8.2667vw;
            color: #6d6d6d;
            font-weight: normal;
        }

    }

}
// 中心

.main{
    margin-top:24vw;
display: flex;

height: 141.3333vw;
// overflow: hidden;
    margin-bottom: 13.3333vw;
    .classify-items{
        display: flex;
        flex-direction: column;
        width: 24vw;
        // height: 144vw;
        overflow: auto;
        .item{
            height: 12vw;
            text-align: center;
            background-color: #f8f8f8;
            line-height: 12vw;
        }
        .active{
            background-color: #fff;
            color: red;
            border: 0.2667vw solid #eaeaeac2;
        }

    }
    .classify-items::-webkit-scrollbar{
        display: none;
    }
    .goods-items{
        flex: 1;
        display: flex;
        flex-wrap: wrap;
        justify-content: space-between;
        align-items: flex-start;
        align-content: flex-start;
        // height: 144vw;
        overflow: auto;
        background-color: #fff;
        .item-photo{
            width: 24vw;
            height: 30.9333vw;
            display: flex;
            flex-direction: column;
            justify-content:center;
            align-items: center;
            img{
                width: 17.8667vw;
                height: 17.8667vw;
            }
        }
    }
}



// 底部
footer{
    position: fixed;
    bottom: 0;
    left: 0;
    z-index:99;
    height: 13.3333vw;
    width: 100%;
    border-top: 0.2667vw solid rgba(0, 0, 0, 0.3);
    display: flex;
    justify-content: space-around;
    background-color: #fff;

    a{
        width: 25%;
        display: flex;
        flex-direction: column;
        justify-content: space-evenly;
        align-items: center;

        .iconfont{
            font-size: 4.8vw
        }
        p{
            font-size: 3.2vw;
        }
    }
    .active{
        color:red
    }
}